import logging
#设置日志级别为DeBUG
"""
%(asctime)s :日期，时间
%（levelname)s : 日志级别
%（message）s ：消息信息
"""
logging.basicConfig(format='[%(asctime)s] [%(levelname)s] [%(message)s]' ,level=logging.DEBUG)
url = "http://49.233.108.117:3000/"
logging.debug(f"开始访问：{url}")
logging.info("helloword info")
logging.warning("helloword warning")
logging.error("helloword error")
logging.critical("helloword critical")